package com.example.demo1.entity;

public class User {

    private String stuId;

    private String stuName;

    private String phone;

    private String sex;

    private Integer age;

    private String major;

    public User() {
    }

    public User(String stuId, String stuName, String phone,
                String sex, Integer age, String major) {
        this.stuId = stuId;
        this.stuName = stuName;
        this.phone = phone;
        this.sex = sex;
        this.age = age;
        this.major = major;
    }

    public String getStuId() {
        return stuId;
    }

    public void setStuId(String stuId) {
        this.stuId = stuId;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public Object getPassword() {
        return stuId;
    }
}